package org.car.world.core.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.car.world.core.entily.CommentsTable;

@Mapper
public interface CommentsTableMapper {

    int deleteByPrimaryKey(Integer commentsId);

    int insert(CommentsTable record);

    CommentsTable selectByPrimaryKey(Integer commentsId);

    List<CommentsTable> selectAll();

    int updateByPrimaryKey(CommentsTable record);

    int selectAllPlNum(Integer merchantsId);

    List<CommentsTable> selectAllMerid(Integer merchantsId);

    List<CommentsTable> selectAllMeridLimit(Integer merchantsId, Integer form, Integer size);
}